Fixed type_ problem in copy.