code: def _copy_dir(from_dir, name, to_dir):
      from_dir_name = os.path.join(from_dir, name)
      to_dir_name = os.path.join(to_dir, name)
      tf.io.gfile.mkdir(to_dir_name)
      for file_name in tf.io.gfile.listdir(from_dir_name):
          _copy_file(from_dir_name, file_name, to_dir_name)
  
file_path: agents/tf_agents/policies/policy_loader.py
imports: import os
  from typing import Optional, Text
  import tensorflow.compat.v2
  from tf_agents.policies import policy_saver
  from tf_agents.policies import py_tf_eager_policy
label_desc: Use image node_id 3 for calling a global function with example usage: _copy_dir(from_dir, name, to_dir) without return types