code: def test_multi_memfile(path_rgb_msk_byte_tif):
      """Multiple files can be copied to a MemoryFile using copyfiles"""
      with open(path_rgb_msk_byte_tif, "rb") as tif_fp:
          tif_bytes = tif_fp.read()
      with open(path_rgb_msk_byte_tif + ".msk", "rb") as msk_fp:
          msk_bytes = msk_fp.read()
  
      with MemoryFile(
          tif_bytes, dirname="bar", filename="foo.tif"
      ) as tifmemfile, MemoryFile(
          msk_bytes, dirname="bar", filename="foo.tif.msk"
      ):
          with tifmemfile.open() as src:
              assert sorted(
                  os.path.basename(fn) for fn in src.files
              ) == sorted(["foo.tif", "foo.tif.msk"])
              assert (
                  src.mask_flag_enums == ([MaskFlags.per_dataset],) * 3
              )
  
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 32 for calling a global function with example usage: test_multi_memfile(path_rgb_msk_byte_tif) without return types