So File::Copy does not preserve the attributes of the copied file. Can't we fix it?
This is a band-aid that more closely approximates the desired behavior, but it will always be a chasing game of approximation (until the Unix/Linux systems provide a basic syscopy feature).
Say you implement this. Then you want to copy files which have ACLs (Access Control Lists) attached. Now you have to fix File::Copy again to copy the ACLs too. Tomorrow, what other file metadata will be employed at the filesystem level?
--
[ e d @ h a l l e y . c c ]