The Arduino is a small device. Just use global variables for the arrays so there is no need to pass them to functions.
...R