[pacman-dev] [PATCH] Add helper function to copy files and preserve associated times