Java ArrayList of Array to Array of Array

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