Since Qt 6.12, the permissions \a perm can be specified when calling.
When it is not passed, the permissions of the original are copied.
The new file shall be created with the given permissions.

If the copied file is a symbolic link (symlink), the file it refers to
is copied, not the link itself.
With the exception of permissions, no other file metadata is copied.

Returns \c true if successful; otherwise returns \c false.

Note that if a file with the name \a newName already exists,
copy() returns \c false. This means QFile will not overwrite it.

\note On Android, this operation is not yet supported for \c content
scheme URIs.
