You're welcome.
Type: Posts; User: angstrem
You're welcome.
If you need just to create a new array from a list, then you can use List.toArray(). If you need to merge an existing array with the list's contents, you can create a new list and dump everything...
I'm not sure whether I've understood you correctly, but if you confused by the fact that each iteration of while loop creates it's own array, then you can just read all the file to a single string...
What have you tried to do? Show the code and explain, why doesn't it work.