CapacitorAdapterFs.copy method
CapacitorAdapterFs › copy
Unofficial
Copy a file to a new path.Signature:
copy(realPath: string, newRealPath: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| realPath | string | Source file path. |
| newRealPath | string | Destination file path. |
Returns: Promise<void> — A promise that resolves when the file is copied.