Copy file mode and permission bits