AWS SDK for .NET Documentation
CopyTo Method (newBucket, newKey)
AmazonAmazon.S3.IOS3DirectoryInfoCopyTo(String, String) Did this page help you?   Yes   No    Tell us about it...
Copies the files from this directory to the target directory specified by the bucket and object key.
Declaration Syntax
C#
public S3DirectoryInfo CopyTo(
	string newBucket,
	string newKey
)
Parameters
newBucket (String)
The target bucket to copy to.
newKey (String)
The target object key which represents a directory in S3.
Return Value
S3DirectoryInfo for the target location.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)