Go to the Options menu and click Export . The code is automatically copied to your clipboard. Paste this into a text file or email to keep it safe.
Update your game to the latest version, or downgrade (if possible on Steam Beta branches). Most modern codes are forward-compatible, but ancient codes are not.