How do I save an array in the project's resources?

I am running a program which reads a massive array of numbers from a couple of files each time I run it. The loading times are unbearable and the RAM is used anyway, so I figured it’d be great to only load the array once, and then have acces to it on subsequent executions.

Is there any way I can save that array for future use, so that I don’t have to load it each time I run the program? Perhaps a prefab of some sorts?

You can use scriptable object (create one from the scriptable object class Unity - Manual: ScriptableObject) with array field. Fill it once in editor runtime and it will be still filled after you stop the game.