Make file writable and copy