private static void basicUploadPartCopy() throws IOException
    {
    	String sbucketName = "region";
    	String dbucketName = "chttest";
    	String sfileName = "world.txt";
    	String dfileName = "hello.txt";
    	String uploadID = "LK7JUNJ8IRDDTYD9KWBJ0TN8I04JIWVF9HRQK7TNX4PZ6QY0UQT8JGJK13"; //hello
    	
		AmazonS3 s3 = new AmazonS3Client(new PropertiesCredentials(putBucket.class.getResourceAsStream("AwsCredentials.properties")));
		try
		{
            System.out.println("basic Upload Part Copy...\n");
			CopyPartRequest request = new CopyPartRequest();
			request.setDestinationBucketName(dbucketName);
			request.setDestinationKey(dfileName);
			request.setUploadId(uploadID);
			request.setPartNumber(3);
			request.setSourceBucketName(sbucketName);
			request.setSourceKey(sfileName);

			CopyPartResult result = s3.copyPart(request);
			System.out.println(result.getPartNumber());
			System.out.println(result.getETag());
			System.out.println(result.getLastModifiedDate());
		}
		catch (AmazonServiceException ase) {
            System.out.println("Caught an AmazonServiceException, which means your request made it "
                    + "to Amazon S3, but was rejected with an error response for some reason.");
            System.out.println("Error Message:    " + ase.getMessage());
            System.out.println("HTTP Status Code: " + ase.getStatusCode());
            System.out.println("AWS Error Code:   " + ase.getErrorCode());
            System.out.println("Error Type:       " + ase.getErrorType());
            System.out.println("Request ID:       " + ase.getRequestId());
        } catch (AmazonClientException ace) {
            System.out.println("Caught an AmazonClientException, which means the client encountered "
                    + "a serious internal problem while trying to communicate with S3, "
                    + "such as not being able to access the network.");
            System.out.println("Error Message: " + ace.getMessage());
        }
    }