//复制数组、数组复制 
//深拷贝,数组改变后,原数组不会发生变化
int [] b= Arrays.copyOf(candies, candies.length);;
//浅拷贝,数组改变后,原数组也跟着发生了变化
int [] b=candies;