How come this array has a length of 13? : <p>im confused as the following array has only 13 elements in it and shows the length as 13,Why so?</p>

<pre><code>class ArrayCopyOfDemo {
public static void main(String[] args) {

    char[] copyFrom = {'d', 'e', 'c', 'a', 'f', 'f', 'e','i', 'n', 'a', 't', 'e', 'd'};

    char[] copyTo = java.util.Arrays.copyOfRange(copyFrom, 2, 10);

    System.out.println(new String(copyTo));

    System.out.println(copyFrom.length);
}
</code></pre>

<p>}</p>

<p>It should be showing 12</p>
