.\"copy a file .DT cp $MUDNAME$ driver help cp .SH Name .SI 5 cp() - copy a file .EI .SH Synopsis .SI 5 int cp( string src, string dst ); .EI .SH Description .SP 5 5 Copies the file `src' to the file `dst'. Returns 1 for success, returns -1 if the first src is unreadable, -2 if dst is unreadable, and -3 if an i/o error occurs. .EP .EI See also .SI 5 rm(), rmdir(), rename(), link() .EI