Added copy files method and test for all classes