Vocabulary
io.directories

Inputs
froma pathname string
toa directory pathname string


Outputs
None

Word description
Copies a file to another directory.

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

Definition