public static boolean copyPluginsToFolder(final File file){
		if(file.isDirectory()){
			final Path target = Paths.get(file.getAbsolutePath());
			final Path source =  Paths.get(System.getProperty("user.dir") + System.getProperty("file.separator") + "plugins");
			try {
				Files.walkFileTree(source, new SimpleFileVisitor<Path>() {
					@Override
					public FileVisitResult preVisitDirectory(final Path dir, final BasicFileAttributes attrs) throws IOException {
						Files.createDirectories(target.resolve(source.relativize(dir)));
						return FileVisitResult.CONTINUE;
					}

					@Override
					public FileVisitResult visitFile(final Path file, final BasicFileAttributes attrs) throws IOException {
						Files.copy(file, target.resolve(source.relativize(file)));
						return FileVisitResult.CONTINUE;
					}
				});
			} catch (IOException e) {
				Log.getLogger().log(Level.SEVERE, "IOException", e);
				return false;
			}
			return true;
		} else {
			return false;
		}
	}