```
public static int[] tranzitie(int[] stare, int x, int y) {
    stare[x] = y;
    return stare;
}

int[] SC = {3,1,1,1};
int[] SN = {3,1,1,1};                             

SN = tranzitie(SC, x, y);

```

//when i do this, i want to change only SN
//but in my case SN = SC