Documentation for routine copy

Documentation for routine copy, assembled from the following types:

class IO::Path

From IO::Path

(IO::Path) routine copy

method copy(IO::Path:D: $to:$createonly)
sub    copy($from$to:$createonly)

Copies a file, as indicated by $from or the invocant, to the destination specified. If :createonly is set to True, copy fails if a file already exists in the destination. Returns True upon success, or an appropriate Failure if the operation could not be completed.

class Parameter

From Parameter

(Parameter) method copy

Defined as:

method copy(Parameter:D: --> Bool:D)

Returns True for is copy parameters.