Added a Copy function.