Indium Software Interview Question

How to convert ArrayList to Array