For the functions file, you should be able to copy/paste the code snippets you’ve added to the new functions file since it shouldn’t be that much.
If you’ve purchased from StudioPress then you can download from your StudioPress account which should be my.studiopress.com ….make sure to login.