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 v0.8.0-preview.1+4df4cd2858d46c717d136ff5c571742dc449f642.