title: How to replace array with elements in another array in Swift?
body: <p>I have an first array: <code>["0", "0", "0", "0", "0", "0", "0"]</code> </p>
  
  <p>and the second array: <code>["1", "0", "1", "1"]</code>. </p>
  
  <p>Now I need to replace first array with elements from second array.<br>
  The result should be: <code>["1", "0", "1", "1", "0", "0", "0"]</code></p>