Documentation for routine copy
Documentation for routine copy, assembled from the following types:
method copy(IO::Path: IO() , : --> Bool)sub copy(IO() , IO() , : --> Bool)
Copies a file. Returns
True on success; fails with X::IO::Copy if
True and the
$to path already exists or if the operation failed for some other reason, such as when
$from are the same file.
method copy(Parameter: --> Bool)
is copy parameters.