convert copyFile to use gnome api/expanded error support