copy instance class basics