The title pretty much sums up my question. I am having no problem copying files from Bucket A to Bucket B, but I would also like to copy Bucket A properties to Bucket B from the cli (ie. setting static web hosting to enabled, or versioning to enabled etc.). Here is the commands I am running right now:
aws s3 mb s3://$S3_NEW_BUCKET_NAME
aws s3 sync s3://$S3_PROD_BUCKET_NAME/ s3://$S3_NEW_BUCKET_NAME/