You can store all objects that are Serializable as a process-variable. Since an array is also an object in Java (although not explicit) it's implementing Serializable. So just passing the array as variable will do.
When not using Strings as array elements, make sure the elements itself are also serializable…