>>328
足りない場合はtoArray()の内部で new String[0] した配列を捨てて
new String[ArrayList.size()] と同じ処理を
(それより遅いかもしれない)リフレクションを使って行う。