int myArray[] = new int [2000];...vector.add(new Integer(z));for(int i=0; i<vector.size(); i++) { myArray[i] = ((Integer)vector.elementAt(i)).intValue();}
Integer myArray[] = new Integer[100];vector.copyInto(myArray);oder String myArray[] = new String[100];vector.copyInto(myArray);