code: def copy_from_local(localpath, remotepath, is_dir=False, silent=True):
      if is_local_path(remotepath):
          if is_dir:
              shutil.copytree(localpath, remotepath)
          else:
              shutil.copy(localpath, remotepath)
      else:
          raise ValueError("Unsupported protocol %s" % remotepath)
  
file_path: turicreate/src/python/turicreate/util/_file_util.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import os
  import logging
  import shutil
label_desc: Use image node_id 5 for calling a global function with example usage: copy_from_local(localpath, remotepath, is_dir, silent) without return types