Moves the files from this directory to the target directory specified by the bucket and object key.
            
 Declaration Syntax
 Declaration Syntax| C# | 
public S3DirectoryInfo MoveTo( string newBucket, string newKey )
 Return Value
 Return ValueS3DirectoryInfo for the target location.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| ArgumentException | |
| WebException | |
| AmazonS3Exception |