How to extract all the values of one array and assign those values to another array : <p>if array1  = [1, 2, 3, 4];</p>

<p>then array2 = [5, 6, 7];</p>

<p>In the end i want all these values to be in one array as</p>

<p>array3 = [1, 2, 3, 4, 5, 6, 7]</p>
