@ DoesServiceRequest public final String startCopy ( final CloudBlob sourceBlob , final AccessCondition sourceAccessCondition , final AccessCondition destinationAccessCondition , FileRequestOptions options , OperationContext opContext ) throws StorageException , URISyntaxException { Utility . assertNotNull ( "sourceBlob" , sourceBlob ) ; URI source = sourceBlob . getSnapshotQualifiedUri ( ) ; if ( sourceBlob . getServiceClient ( ) != null && sourceBlob . getServiceClient ( ) . getCredentials ( ) != null ) { source = sourceBlob . getServiceClient ( ) . getCredentials ( ) . transformUri ( sourceBlob . getSnapshotQualifiedUri ( ) ) ; } return this . startCopy ( source , sourceAccessCondition , destinationAccessCondition , options , opContext ) ; }
Requests the service to start copying a file s contents properties and metadata to a new file using the specified access conditions lease ID request options and operation context .