Can't you just output the new array to an arraylist? For instance...
dim newArray as new arraylist
newArray.add = "Title"
dim strTemp as string = ""
for i as integer = 0 to arrStuff.length - 1
strTemp = ""
for j = 0 to var - 1
' try catch block here...
strTemp += arrStuff(i) & ","
i += 1
' ...to here
next j
strTemp = strTemp.substring(0, strTemp.length - 1) 'to get rid of the extra ,
newArray.add(strTemp)
next i Or I suppose you can just create a large array of strings and redim preserve it later, depending on size.
You may also want to wrap the nested for loop in a try catch block in case your array isn't exactly divisible by your var number.
Not sure if I got the idea and it is untested but it should get you started. :)
-Josh