FileSystem.copyFile

void copyFile(string source, string dest, bool overwrite = false, thrown IoError error)

Copies a file.

Remarks

Throws IoError when the file cannot be copied.

Parameters

string
source

Existing source file path.

string
dest

Destination file path.

bool
overwrite = false

When true, an existing destination file may be replaced.

thrown IoError
error

Generated with campc 0.12.0-preview.1.