ObjectInfo destinationObjectInfo = null;
String destinationObjectName;
ObjectInfo destSearchObjectInfo = new ObjectInfo(
destinationBucket, destinationKey);
if(foundDestinationBucketInfo.isVersioningEnabled()) {
<BUG>if(sourceVersionId != null)
destinationVersionId = sourceVersionId;
else</BUG>
destinationVersionId = UUID.randomUUID().toString().replaceAll("-", "");
} else {

ObjectInfo destinationObjectInfo = null;
String destinationObjectName;
ObjectInfo destSearchObjectInfo = new ObjectInfo(
destinationBucket, destinationKey);
if(foundDestinationBucketInfo.isVersioningEnabled()) {
destinationVersionId = UUID.randomUUID().toString().replaceAll("-", "");
} else {
