title: AWS Sync S3 Bucket error on Server-side encryption setting
body: <p>I have two s3 bucket: S3 (A) on my AWS Account(A) and S3(B) on my AWS Account(B). I was able to successfully export/copy my S3(A) to S3(B).</p>
  <p>But when I checked the objects on the S3(B), it has error on the &quot;Server-side encryption settings&quot;</p>
  <p><a href="https://i.stack.imgur.com/XFmfN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XFmfN.png" alt="enter image description here" /></a></p>
  <p>But on my S3(A) there is no server encryption .</p>
  <p><a href="https://i.stack.imgur.com/SKrP5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SKrP5.png" alt="enter image description here" /></a></p>
  <p>I just run the command on my aws cli like this</p>
  <pre><code>aws s3 sync s3://bucket-a  s3://bucket-b
  </code></pre>