added unittest for File.copy