Choose Save to library from a block’s menu, or save a whole page. Click an item on any page to add it: blocks go after the selection, a page goes at the end or replaces the current page.
Export downloads a JSON file. Import checks every item the same way a saved page is checked, so unknown blocks and unsafe values are dropped.