How to Convert ArrayList<String> to String[] in Java | CodeTrail