How to set variable default value during runtime

I have a large variable array with over 2000 members and I would like to set the default value to some value that occurs during runtime. How can I do this without manually copying the data into the default value?

Nvm. I created a system to convert the array into an array of strings. Then I joined the string array and printed it. Then I copied it from the output log and made it a default value.