How to delete company and all its transactions/records in ERPNext version 12?

Hello guys, do you have any idea how to delete a company and all its transactions/records in ERPNext version 12? I have cloned our production server to create a new company from it. Delete the old company and its associated transactions/records but leave all the DocTypes, Custom fields, Print formats and Global settings. Does the Delete Company Transactions button in Settings > Company page will do the job? Pardon me as I’m just starting to learn ERPNext.

ERPNext: v12.17.0
Frappe Framework: v12.14.0