Okay, here's the last trick of ArrayLists that we're going to explore for now: converting or, how some would say, shape-shifting.

Nice! We can use toArray() to convert an ArrayList into a regular array.

Psst: again, Arrays.toString() converts an array into a printable string.

Wait, isn't that where we put a number for the capacity of an array?