copyToS3 works