| TransferManagerCopyAsync Method (CloudFile, CloudFile, Boolean) | 
 Note: This API is now obsolete.
            Copy content, properties and metadata of an Azure file to another.
            
 
    Namespace: 
   Microsoft.Azure.Storage.DataMovement
    Assembly:
   Microsoft.Azure.Storage.DataMovement (in Microsoft.Azure.Storage.DataMovement.dll) Version: 2.0.1.0 (2.0.1.0)
 Syntax
Syntax[ObsoleteAttribute("Replaced by overload that takes CopyMethod", false)]
public static Task CopyAsync(
	CloudFile sourceFile,
	CloudFile destFile,
	bool isServiceCopy
)<ObsoleteAttribute("Replaced by overload that takes CopyMethod", false)>
Public Shared Function CopyAsync ( 
	sourceFile As CloudFile,
	destFile As CloudFile,
	isServiceCopy As Boolean
) As Taskpublic:
[ObsoleteAttribute(L"Replaced by overload that takes CopyMethod", false)]
static Task^ CopyAsync(
	CloudFile^ sourceFile, 
	CloudFile^ destFile, 
	bool isServiceCopy
)
[<ObsoleteAttribute("Replaced by overload that takes CopyMethod", false)>]
static member CopyAsync : 
        sourceFile : CloudFile * 
        destFile : CloudFile * 
        isServiceCopy : bool -> Task 
Parameters
- sourceFile
- Type: CloudFile
 The CloudFile that is the source Azure file.
- destFile
- Type: CloudFile
 The CloudFile that is the destination Azure file.
- isServiceCopy
- Type: SystemBoolean
 A flag indicating whether the copy is service-side asynchronous copy or not.
            If this flag is set to true, service-side asychronous copy will be used; if this flag is set to false,
            file is downloaded from source first, then uploaded to destination.
Return Value
Type: 
TaskA 
Task object that represents the asynchronous operation.
 See Also
See Also