[det]copy_file(+From,
+To)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.
- Modified in 10.1.21 (👉a7931de) copy_file/2 preserves permissions; copy_directory/2 copies symbolic links