While migrating one VPS server to another if you want to transfer firewall too then you can easily migrate then via Import/Export settings. You can follow below steps to Import/Export rules on Windows server 2016.
Export Firewall Rules
Navigate to Start >> Administrative Tools >> Windows...