@Override
    public void handle(T result, HttpResponse response) {
        result.setVersionId(response.getHeaders().get(Headers.S3_VERSION_ID));
    }
Header handler to pull the S3_VERSION_ID header out of the response. This
header is required for the copyPart and copyObject api methods.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/S3VersionHeaderHandler.java