:sig
function file_copy(from : string, to : string) bool

:params
from : source path
to : destination path

:returns
`true` when Capy copies the file. Otherwise, it returns `false`.

:content
`file_copy` copies a file to another path. The source path remains available after a successful copy.

:example capy render
file_put_contents("/tmp/doc-copy-src.txt", "payload")
file_copy("/tmp/doc-copy-src.txt", "/tmp/doc-copy-dst.txt")
print(file_get_contents("/tmp/doc-copy-dst.txt"), "\n")

:see-group
files
