title: batch files copy to another folder, and overwrite files that shared partial name
body: <p>There are two folders, Folder A that contains a batch of log files, such as</p>
  <pre><code>Test10771_20181210141431.log
  Test10771_20181210141431_141714370.jpg            
  Test2062_20181210135223.log  
  Test2118_20181210134852.log  
  </code></pre>
  <p>There is another Folder B that contains another list of log files</p>
  <pre><code>Test10771_20181110142431.log
  Test10771_20181110142431_141714370.jpg            
  Test2062_20181010132223.log  
  Test2118_20181010132852.log
  Test3667_20181210142612.log 
  Test8461_20181210134434.log
  </code></pre>
  <p>I would like to copy files from Folder A to Folder B, if <code>Test10771</code> exists in folder B, remove <code>Test10771_20181110142431.log</code> and <code>Test10771_20181210141431_141714370.jpg</code> in folder B, and copy  <code>Test10771_20181210141431.log</code> in folder A to B.</p>