Vocabulary
io.directories

Inputs
froma pathname string
toa pathname string


Outputs
None

Word description
Copies a file.

Notes
This operation attempts to preserve the original file's attributes, however not all attributes may be preserved.

Errors
Throws an error if the file does not exist or if the copy operation fails.

Definition


Methods