title: How to move specific files from one folder to another using java
body: <p>I have tried and succeed moving files from one folder to another folder using java . Here is my code</p>
  
  <pre><code>        File source = new File("D:\\polo\\");
          File desc = new File("E:\\polo2\\");
          try {
              FileUtils.copyDirectory(source, desc);
          } catch (IOException e) {
              e.printStackTrace();
          }
  </code></pre>
  
  <p>But i would like to move specific files from one folder to the other not all the files. Is this possible to do in java. Please help us on this</p>