Revert directory copying and add extractZip method in IOUtils