added methods to IOUtils to copy files