implement C_CopyObject