title: How to add FileList array into <input type='file' > control?
body: <p>In this scenario, I have two file type input control.</p>
  
  <blockquote>
    <p><strong>Html:</strong></p>
  </blockquote>
  
  <pre><code>&lt;input type="file" id="file1" multiple="multiple" /&gt;
  &lt;input type="file" id="file2" multiple="multiple" /&gt;
  &lt;input id="btn1" type="button" /&gt;
  </code></pre>
  
  <blockquote>
    <p><strong>Script:</strong></p>
  </blockquote>
  
  <pre><code>&lt;script&gt;
  var fileList = [];
  $('#file1').change(function (e) {
     var files = e.target.files;
              $.each(files, function (k, v) {
                  fileList.push(files[k]);
              });
  });
  $('#btn1').click(function(){
    //Stuffs to be added for pushing the array of File object from "fileList" array to "file2"
    //How to achieve it or is that impossible to do it?
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>I want to achieve the below steps:</p>
  
  <p>step 1: On <strong><em>"file1"</em></strong> input change, it will push the files into the array.</p>
  
  <p>step 2: On <strong><em>"btn1"</em></strong> button click, I need to set or push the array of File objects into the <strong><em>"file2"</em></strong> input control. But I can't do it and I have googled for it. I didn't find a solution for it.</p>
  
  <p>I can't achieve the step 2 and help me on it.</p>
  
  <p>Also provide some links which may be helpful for me.</p>