copy zip file and open in write mode