Workbook 6.11 populates one array based on the values of another.

Workbook 6.12 uses Arrays.copyOf().

I also recommend watching the video solution for Workbook 6.12. It will let you visualize the reference trap.