_copyFile
Copy a file. With the primary virtual machine (Scol Engine) only !
Prototype :
fun [P S] P
- P : a read reference source file.
- S : a destination file name.
Return : I : 0 if success, nil if an error occurs.
Error :
- EOK if no error.
- EARGNIL if one argument is nil.
- EARG if the destination file is incorrect.
- EPERM if this operation is unauthorized in the current VM.
- EIO if the source or destination file can not be opened by the
system. The log file tell you if it is the source or destination file.
See also :
_backupFile
Example :