Two variables. One assignment. You change y, and x changes with it:

int[] x = {1, 2, 3};

int[] y = x;

y[0] = 99;

System.out.println(x[0]); // 99. You never touched x.