Otter SDK Reference
Version:

CopyFileAsync(string sourcePath, string targetPath, bool overwrite) Method

Copies the file from sourcePath to targetPath.

Syntax

public abstract System.Threading.Tasks.Task CopyFileAsync(string sourcePath, string targetPath, bool overwrite)

Parameters

sourcePath
Type: string

Full path of the source file.

targetPath
Type: string

Full path of the target file.

overwrite
Type: bool

Value indicating whether a file at targetPath may be overwritten if necessary.