code: def copyfiles(src, dest, files, handler_cls=None):
      # Opportunistic use of FileCopyHandler to copy files. `unused_xxx`
      # vars below signal that we're explicitly not using parts of the
      # FileCopyHandler API.
      unused_select = object()
      unused_rule_results = object()
      handler = (handler_cls or FileCopyHandler)(
          src, dest, unused_select
      )
      for path in files:
          handler.copy(path, unused_rule_results)
  
imports: import fnmatch
  import glob
  import logging
  import os
  import re
  import shutil
  from guild import util
label_desc: Use image node_id 8 for calling a global function with example usage: copyfiles(src, dest, files, handler_cls) without return types