storage_copy
Copies a file or folder to a new path in the same or another bucket, with overwrite protection unless explicitly enabled.
Instructions
Copy a Storage object (or a folder, a path ending in /) to a new path, in the same or another bucket; refuses to overwrite unless overwrite is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination path (a folder ends in /) | |
| path | Yes | Source object path, or a folder ending in / | |
| bucket | No | Storage bucket; default the suite's default bucket | |
| toBucket | No | Destination bucket; default the source bucket | |
| overwrite | No | Replace an existing destination |