fixed mistake in copy file