Как скопировать Arry React
var newNumbers = Object.assign([], numbers);
Joyous Jackal
var newNumbers = Object.assign([], numbers);
var fruit2 = fruit.slice();
var fruit3 = fruit.slice(0,2);