Copy files and directories, dereferencing symlinks and preserving last-modified times