parameters: (src, dest)
docstring: Copies file src to dest. Creates directories in 'dest' path if necessary.
docstring_summary: Copies file src to dest. Creates directories in 'dest' path if necessary.
docstring_tokens: Copies file src to dest . Creates directories in dest path if necessary .
function: def copyFile(src, dest):
      """Copies file src to dest. Creates directories in 'dest' path if necessary."""
      destdir = os.path.dirname(dest)
      if not os.path.exists(destdir):
          os.makedirs(destdir)
      shutil.copy(src, dest)
function_tokens: def copyFile ( src , dest ) : destdir = os . path . dirname ( dest ) if not os . path . exists ( destdir ) : os . makedirs ( destdir ) shutil . copy ( src , dest )