Export cookie data to another system

I am going to change the OS of my computer. This will ofcourse format everything. How can i save cookie data and import it when installing brave again into the new system?