CopyFileAsync(string sourceName, string targetName, bool overwrite) Method

Copies the specified file from sourceName to targetName.

Syntax

public abstract System.Threading.Tasks.Task CopyFileAsync(string sourceName, string targetName, bool overwrite)

Parameters

sourceName
Type: string

Full path of the file to copy.

targetName
Type: string

Full path of the destination file name.

overwrite
Type: bool

Value indicating an existing file at targetName can be overwritten.