Copies the contents of an I/O file object associated file, naming the new copied file with the value in newName. This method creates the new file with the permissions of the source I/O file object. If a file named newName already exists, this method overwrites the existing file.
copy(string newName);
Parameter  | 
Description  | 
|---|---|
newName  | 
The name of the copied file.  | 
Integer. Returns 1 for success, and 0 for failure.
Pointer to object  | 
Object  | 
|---|---|
  | 
  | 
  | 
  | 
  | 
  | 
| Copyright © 2005. Sybase Inc. All rights reserved. | 
 
 | 
|