CopyPart Method
Copy the specified object as a part of a multipart upload.
Syntax
public void copyPart(String srcObjectName, String destBucket, String destObjectName, int destPartNumber, String destUploadId);
Remarks
This method allows you to copy an existing object as a part in a multipart upload. After a multipart upload has been started with StartMultipartUpload this method may be used to copy an existing object into a part of the multipart upload.
The source object is specified by setting Bucket and the SrcObjectName parameter. The DestBucket and DestObjectName parameters define the destination location. The DestPartNumber, and DestUploadId define the existing multipart upload to which the part is being copied.
You may optionally define a range of bytes to copy from the source object. See CopyPartRange for more details.