COPY

COPY Source path TO Destination path

Copies a file from source path to destination path.

The destination path need not have the same name than the source path.

Note that you cannot copy directories recursively with this function.


Example

' Save the gambas configuration file
COPY Application.Home &/ ".gambas/gambas.conf" TO "/mnt/save/gambas.conf.save"


See also

CLOSE, Eof, FLUSH, INPUT, Lof, LINE INPUT, KILL, OPEN, PRINT, READ, RENAME, Seek, SEEK, WRITE