Copies the files from this directory to the target directory specified by the bucket and object key.
| C# |
public S3DirectoryInfo CopyTo( string newBucket, string newKey )
S3DirectoryInfo for the target location.
| Exception | Condition |
|---|---|
| ArgumentException | |
| WebException | |
| AmazonS3Exception |