To change a company name.
Backup the company using the backup/install utility.
Then create a new company, using the same install utility, with the new name and with the old files.
Then be sure to check that your payment credentials, on the new company file, are still present.
If you need to change the license, just make a new one on the license server, and let us know that the old one needs deactivated.
After you have finished and confirm everything is working, you can delete the old installation. Navigate to...
And delete the .war file. This will not delete database, there is no need to do so, only the previous copy of the software.