Add rmtree and copyFile