- copy_file(+From, +To) is det
- Copy a file into a new file or directory. The data is copied as
binary data. If the destination file does not exist, it is
created with the same permissions as From. If it exists, its
permissions are not changed. Copying a file onto itself raises
a permission error.