GLBasic User Manual

Main sections

COPYFILE

COPYFILE source$, dest$



Copies a file from a local device to another one. You cannot copy files from within a shoebox.

// Backup
f$ = FILEREQUEST$(TRUE, "*.*")
COPYFILE f$, f$+".bak"
END

See also...