Insert Items into an Array In-Game

So I setup a TraceLineByChannel for an Actor Class that checks an array to see if the item is in the array, if not, the item is then added to the array. All works well, however, when i close the PIE and check the array in the blueprint the array is empty. How do I permanently add items to an array?

Nothing is ever saved by itself when ending a game. You need to set up a save and restore.