Does Arrays.copyOf produce a shallow or a deep copy?

There seems to be a lot of confusion and different opinions on this out there ([1] and other sources) on whether Arrays.copyOf will produce a deep or shallow copy. This test suggests that the copy...