Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption


Copies one file inside the single file system to another one.

function CopyFile(const OldName, NewName: string; Password: string = ''): Boolean;

CopyFile attempts to copy file specified by OldName to the file specified by NewName. If the operation succeeds, CopyFile returns True. If it cannot copy the file (for example, if a file called OldName does not exists), it returns False.
Note:   Use{linkN==TSingleFileSystem.CopyFile} MoveFile to copy file and delete source file.

© 2000-2004 AidAim Software LLC Single File System: