fileCopyFile

Copies a file from source to destination. Takes source path and destination path. Returns 1 on success, 0 on failure (paths are null, source doesn't exist, or insufficient permissions).

File IO

Parameters & Returns

Parameters

source String
dest String

Returns

Int

Quick Summary

Copies a file from source to destination. Takes source path and destination path. Returns 1 on success, 0 on failure (paths are null, source doesn't exist, or insufficient permissions).

Technical Exegesis...

Copies the file from the source path to the destination path. Returns 1 on success, 0 on failure (paths are null, source doesn't exist, or insufficient permissions).

Uses CopyFileA with overwrite enabled - if the destination file already exists, it will be replaced. The destination directory must already exist.

Example

Example.bam
; No example implemented yet