Set array size to (tokencount/4,4,1)
Repeat tokencount/4 times
— set array at (loopindex, 0) to tokenat(loopindex*4+0)
— set array at (loopindex,1) to tokenat(loopindex*4+1)
— ... and so on for 2 and 3
Alternatively you can simplify it further
Set array size to (tokencount/4,4,1)
Repeat tokencount times
— set at (int(loopindex/4), loopindex%4) to tokenat(loopindex)