Name

copyfile — Copy file

Calling Sequence

copyfile('source','destination')
[status,message] = copyfile('source','destination')

Description

copyfile('source','destination') copies the file to the file or directory destination.

[status,message] = copyfile('source','destination') copies source to destination, returning the status and a message.

Examples

copyfile(SCI+'/etc/scilab.start',TMPDIR+/'scilab.start')
[status,message] = copyfile(SCI+'/etc/scilab.start',TMPDIR)
 

See Also

mdelete

Authors

Allan CORNET