Implemented the s3 copy function to copy a key from one bucket to another bucket.