basetsmux: use private copy of g_ptr_array_copy