So I've got a Datapoint[] = new Datapoint[50]
that I'm filling. As soon as the Datapoint array is full, how can I "delete" Datapoint[0] and set Datapoint[1] to Datapoint[0], Datapoint[2] to Datapoint[1]... etc. and make Datapoint[49] free again / to value 0/0?
I didn't had any success yet figuring it out since I don't wanna use a loop.
Thanks for help!