code: def copy_file_map(file_map: FileMap) -> FileMap:
      r"""Copy mapping of fileholders given by `file_map`
  
      Parameters
      ----------
      file_map : mapping
         mapping of ``FileHolder`` instances
  
      Returns
      -------
      fm_copy : dict
         Copy of `file_map`, using shallow copy of ``FileHolder``\s
  
      """
      return {key: copy(fh) for key, fh in file_map.items()}
  
file_path: nibabel/nibabel/fileholders.py
imports: from __future__ import annotations
  import io
  import typing
  from copy import copy
  from .openers import ImageOpener
label_desc: Use image node_id 1 for calling a global function with example usage: copy_file_map(file_map) and returns: unknown