Java Arraylist of Array to Array of Array

String[][] w = allProducts.toArray(new String[][] {});
Aryqs Ipsum