I don't understand this. Why don't you just do reagent_ids.Copy()