Add copy method.
Add ObjectCopy pgm to test copy method.