Reply to Michael P., > Anyways, everything is compiling fine, but I get an ArrayOutOfBounds > error on line 125 or something. > line 125: for ( int i = arrayToConvert.length; i > 0; i-- ) that should be: for ( int i = arrayToConvert.length - 1; i > 0; i-- ) this is because arr[arr.length] is the elemant after the last element.