Copies file.

Appeal:

int err =  shell_func("file", "copy", string spath_from, string spath_to);


Here:

spath_from is the path to the file from which we are copying,

spath_to is the path to the file to which we are copying.


Return value:


0 - copying was successful;

-2222 - source file not found;

-2223 - the file already exists;

-2224 - the device is full;

-2225 - insufficient user rights.

-1 is a general error.