"How to get the same value from another array and assign to object of arrays" code example
Example 1: js copy array into another
var destinationArray = Array.from(sourceArray);
Example 2: how store array in another array js
how store array in another array js