CopyFileA v0.1.0

Source
Copies an existing file to a new path.

Package: Windows

Microsoft documentation: CopyFileA

Signature

func CopyFileA(
    existingFileName: *char8,
    newFileName: *char8,
    failIfExists: bool32
) -> bool32;

Both names must be null-terminated ANSI paths. When failIfExists is nonzero, the call fails rather than overwriting an existing destination. Returns nonzero on success.

See also