code: def test_write_rpcs_to_memfile(path_rgb_byte_rpc_vrt):
      """Ensure we can write rpcs to a new MemoryFile"""
      with rasterio.open(path_rgb_byte_rpc_vrt) as src:
          profile = src.profile.copy()
          with MemoryFile() as memfile:
              with memfile.open(**profile) as dst:
                  assert dst.rpcs is None
                  dst.rpcs = src.rpcs
                  assert dst.rpcs
  
imports: from io import BytesIO
  import os.path
  from pathlib import Path
  from affine import Affine
  import numpy
  import pytest
  import rasterio
  from rasterio.io import MemoryFile, ZipMemoryFile
  from rasterio.enums import MaskFlags
  from rasterio.shutil import copyfiles
label_desc: Use image node_id 36 for calling a global function with example usage: test_write_rpcs_to_memfile(path_rgb_byte_rpc_vrt) without return types