htable: htable_type add htable_copy.