Copies an entry to a different location on the file system.
Entry.copyTo(dirEntry, newName, successCallback, errorCallback)
This method does not return anything.
| Name |
Description |
Type |
Use |
| dirEntry |
The directory to which to move the entry. |
DirectoryEntry
|
required |
| newName |
The new name of the entry. If not specified, it is the entry current name. |
DOMString
|
optional |
| successCallback |
A callback that is called with the entry for the new object. |
EntryCallback
|
optional |
| errorCallback |
A callback that is called when errors happen. |
ErrorCallback
|
optional |