public static String[] convertStringListToArray(ArrayList<String> list)
	{
		String[] ret = new String[list.size()];
	    Iterator<String> iterator = list.iterator();
	    
	    for (int i = 0; i < ret.length; i++)
	        ret[i] = iterator.next().toString();

	    return ret;
	}