assertEquals(listedParts.get(0).getSize().longValue(), partObject.getContentLength());
// Upload a second part by copying an object already in S3, must be >= 5 MB
S3Object objectToCopy = service.putObject(bucketName,
new S3Object("objectToCopy.txt", fiveMBTestData));
MultipartPart copiedPart = service.multipartUploadPartCopy(testMultipartUpload,
++partNumber, bucketName, objectToCopy.getKey());
assertEquals(copiedPart.getPartNumber().longValue(), partNumber);
assertEquals(copiedPart.getEtag(), objectToCopy.getETag());
// Note: result part from copy operation does *not* include correct part size, due
// to lack of this info in the CopyPartResult XML response.