Is there a command in java for conversion of an ArrayList into a object array. I know how to do this copying each object from the arrayList into the object array, but I was
Yes. ArrayList has a toArray() method.
ArrayList
toArray()
http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html