How can I copy a CharArrayBuffer to another CharArrayBuffer at a specified index in Java on android?
developer.android.com/reference/android/…
CharArrayBuffer stringBuffer1 = new CharArrayBuffer(128);
System.arraycopy("Phone", 0, stringBuffer1.data, 0, "Phone".length());
But i get an ArrayStoreException. I have allocated the CharArrayBuffer to be 128. I don't understand this exception