copy content to and from s3