spigot world copy
// The world to copyWorld source = Bukkit.getWorld("world");File sourceFolder = source.getWorldFolder(); // The world to overwrite when copyingWorld target = Bukkit.getWorld("NewWorld");File targetFolder = target.getWorldFolder();