code: public static void copyInstances(AbstractWisdomMojo mojo, MavenResourcesFiltering filtering) throws IOException {
          File in = new File(mojo.basedir, Constants.INSTANCES_SRC_DIR);
          if (in.isDirectory()) {
              File out = new File(mojo.getWisdomRootDirectory(), Constants.APPLICATION_DIR);
              filterAndCopy(mojo, filtering, in, out);
          }
      }
docs: Copies the `cfg` files from `src/main/instances` to the Wisdom application directory.
  
  @param mojo      the mojo
  @param filtering the filtering support
  @throws IOException if file cannot be copied