Added copy command. Added more test cases