Directory.copy

Copy 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 defined in @GlobalScope (OK, FAILED or ERR_*).

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

Meta