- start
- the starting offset of characters to copy.
- end
- the ending offset of characters to copy.
- buffer
- the destination character array.
- idx
- the starting offset in the character array.
Type Reason Java.Lang.IndexOutOfBoundsException if start , end > length(), start > end, index , end - start > buffer.length - index
Copies the requested sequence of characters to the char[] passed starting at idx.