Convert lists into arrays

You can use function node where you can use map function.
The following topics can be useful:

If you provide data I can try to write what you need, basically I would make an empty array and then go throw to push items to this array, after all I would return this