code: def copy_command(
      user_id: int,
      user_group: int,
      from_path: str,
      to_path: str,
      comment: Optional[str] = None,
  ) -> str:
      """Generates a Dockerfile entry that will copy the file at the directory-local
      from_path into the container at to_path.
  
      If you supply a relative path, Docker will copy the file into the current
      working directory, where it will be overwritten in any interactive mode. We
      recommend using an absolute path!
  
      """
      cmd = (
          f"COPY --chown={user_id}:{user_group} {from_path} {to_path}\n"
      )
  
      if comment is not None:
          comment_s = "\n# ".join(comment.split("\n"))
          return f"# {comment_s}\n{cmd}"
  
      return cmd
  
imports: from __future__ import absolute_import, division, print_function
  import json
  import os
  import subprocess
  import tempfile
  from enum import Enum
  from pathlib import Path
  from typing import Any, Dict, List, NamedTuple, NewType, Optional, Union
  from absl import logging
  from blessings import Terminal
  import caliban.config
  import caliban.util
  import caliban.util.fs
  import caliban.util.metrics
label_desc: Use image node_id 3 for calling a global function with example usage: copy_command(user_id, user_group, from_path, to_path, comment) and returns: cmd, str, comment_s, str, cmd