public boolean copyLibraries() {
        File mine = VersionInfo.getMinecraftFolder();
        File oldLib = new File(mine, "libraries");
        File newLib = new File(mine, "launcher");
        if (oldLib.exists()) {
            try {                                               
                FileUtils.copyDirectory(newLib, oldLib);        //Note: this method overwrites
                FileUtils.copyDirectory(oldLib, newLib);        //files, so I'm copying the new
                //FileUtils.deleteDirectory(oldLib);            //libraries over the old ones     
            } catch(IOException e) {                            //and renaming the "libraries"
                e.printStackTrace();                            //folder to "launcher"
                return false;                                   
            }                                                   
        }
        return true;
    }