What are the best practices for handling NTFS permissions when copying files from a Windows server to a Linux server using PHP?

When copying files from a Windows server to a Linux server using PHP, it is important to ensure that the NTFS permissions are preserved during the transfer. One way to do this is by using the `rsync` command in PHP, which can help maintain the permissions of the files being copied.

<?php
$source = '/path/to/source';
$destination = '/path/to/destination';

exec("rsync -avz --chmod=ugo=rwX --no-perms $source $destination");
?>