code: def test_read_write(tmpdir):
      tif1 = str(tmpdir.join("test.tif"))
      tif2 = str(tmpdir.join("test2.tif"))
      with rasterio.open("tests/data/RGB.byte.tif") as src:
          kwargs = src.meta.copy()
          del kwargs["transform"]
          del kwargs["crs"]
          with rasterio.open(tif1, "w", **kwargs) as dst:
              dst.write(src.read())
      with rasterio.open(tif1) as src, rasterio.open(
          tif2, "w", **src.meta
      ) as dst:
          dst.write(src.read())
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_read_write(tmpdir) without return types