I made this method to concatenate 3 arrays of Strings but when i obtain the final array it dosen't containg all the data inside.
public String[] obtainFullArrayOfCounter(String first[], String second[], String third[]) {
String finalArray[] = new String[first.length + second.length + third.length];
System.arraycopy(finalArray, 0, finalArray, 0, first.length);
System.arraycopy(second, 0, finalArray, first.length, second.length);
System.arraycopy(third, 0, finalArray, first.length + second.length, third.length);
return finalArray;
}
Thanks for help