How in this code for loop is running three times, as here argcopy array size is 2 and as per my knowledge once an array is created its size can't be changed.

```
class test {                                     //line 1
    public static void main(String[] args) {     //line 2
        String[][] argcopy = new String[2][2];   //line 3
        String arg[] = new String[3];            //line 4
        int x;                                   //line 5
        arg[0] = "1";                            //line 6
        arg[1] = "2";                            //line 7
        arg[2] = "3";                            //line 8
        argcopy[0] = arg;                        //line 9
        x = argcopy[0].length;                   //line 10
        for (int y = 0; y < x; y++)
        {
            System.out.println(" " + argcopy[0][y]);   //line 11
        }
    }
}

```