Directory.copy

Copies the from file to the to destination. Both arguments should be paths to files, either relative or absolute. If the destination file exists and is not access-protected, it will be overwritten. Returns one of the error code constants (OK on success).

struct Directory
@nogc nothrow
GodotError
copy
(
in String from
,
in String to
)

Meta