Copy

cp copies files and directories from one location to another.

If the $from location is a directory, all files and directories below $from will be copied to the $to location. A fatal error will be thrown (by the core) if $from is a directory and $to is a file.

Errors will also be thrown (by the core) if the permissions in either location are not appropriate for the selected operation.

Existing files will be overwritten unless the :c (:createonly) option is selected.

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.