copy()
function copy(string $from, string $to): bool
Copies a file.
Parameters:
$from(string)$to(string)
Returns: bool
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how copy is implemented in the compiler, see the internals page.