[updated] changed clone method to copy method