Gentee Programming Language > Documentation > Libraries Download documentation

copyfile

Copy a file.
 
uint copyfile(
      str   name,
      str   newname
)

Parameters

nameThe name of an existing file.
newnameA new file name and path. If the file already exists, it will be overwritten.

Return value

If error occurs, function returns 0.

See also

    Function working with files


 Copyright © 2004-2006 Gentee Inc. All rights reserved.