Reducing the array when adding a new element and because of this you can't use the function insert

This worked together with SetNum on beginplay, but there was a problem with reducing the array, I use Items.RemoveAt(Counter, 1, false), and when I throw away or use an item, then all the items that go further in the count are shifted back, what can I do about it?