This is an accurate and a very good point. I think I got carried away explaining one part, neglecting the other. We do retain a copy of the array. And the values in the original array are not affected.
I just fixed it in text. Thanks for pointing this out!