How to Import Spark Server database from Old Server to new Server

We have old Spark server installed (v3.9.3) and while installing, my colleague selected HSQLDB database which is** resides on the same server.**

Now I want to install Spark (V3.10.2) Server on another Windows Server. My Query is…

1st do i need to upgrade old spark to version 3.10.2?

2nd While Installation or after Installation of new server How I can transfer database from old server to new?