title: copying one array to another array
body: <p>I am an array in following format. I am reading following data from a file <code>data.json</code> like this</p>
  
  <pre><code>$.getJSON('data/data.json', function (ids) {
              for (var i = 0; i &lt; ids.length; i++) {
                  var id = ids[i];
                  teams = id;
                  $('&lt;li&gt;' + id + '&lt;/li&gt;').appendTo(span);
  
              }
          });
  </code></pre>
  
  <p>here is data</p>
  
  <pre><code>[
  "109 200",
  "109 201",
  "102 202",
  "103 202"
  ]
  </code></pre>
  
  <p>So what I want is to copy this array to another lets say <code>c</code> but in following form</p>
  
  <pre><code>[
  "109",
  "109",
  "102",
  "103",
  "200",
  "201",
  "202",
  "202"
  ]
  </code></pre>
  
  <p>How can I do this using javascript or jquery?</p>