std.filesystem.CopyFile - nitrologic/monkey2 GitHub Wiki

std::std.filesystem.CopyFile

Function CopyFile:monkey:monkey.types.Bool( srcPath:monkey:monkey.types.String,dstPath:monkey:monkey.types.String )

Copies a file.

Copies a file from srcPath to dstPath, overwriting dstpath if it alreay exits.

Returns true if successful.