Updating array of struct

So diamond is something like pointer in C language right? It contains a address of variable inside memory and circle is just copy of value, right?

This is what I want (image below), as you can see, I loop throught whole array and spawn Actors, then I only want to update reference in my struct to newly created Actors and others values leave the same.

But if I run this, then my apps stop working, because I insert new element into array (endless loop)? I don’t think that there is endless loop, because I insert new element into array at current index, but ForEachLoop should jump to another index in array, no?