M2M_API_RESULT m2m_fs_copy(CHAR *srcfilename, CHAR *dstfilename)
Description: the function copies a file. You must close the file and use the full path.
Parameters:
srcfilename: pointer to the
zero-terminated string containing the full path of the file to be
copied
dstfilename: pointer to the zero-terminated string containing the full
path of the new file
Return
value:
refer to
M2M_API_RESULT enum
NOTE: m2m_fs_last_error function returns the failure reason.