Simple array, uncertainty with output

So I'm studying for my Java Exam in a few days. In my practice packet, I had the following code. My prediction of the output was 4 1 ... which wasn't even a choice. The answer was 1 1 2 3 4 5. But I don't understand how it got to this output. My guess is I'm getting thrown off around the 5th line(myList[i...). If anyone has the patience to break it down for me I'd appreciate it. I don't want answers for my work here, I just wanna understand them.

public class Test10 {

public static void main(String[] args) {

    int[] myList = {1,2,3,4,5,6};

    for (int i = myList.length - 2; i >= 0; i--) {
        myList[i + 1] = myList[i];
    }

    for (int e: myList)
        System.out.print(e + " ");

}

}