code: def file_copy(name, dest=None, **kwargs):
      '''
      Copies the file from the local device to the junos device.
  
      .. code-block:: yaml
  
              /home/m2/info.txt:
                junos:
                  - file_copy
                  - dest: info_copy.txt
  
      Parameters:
        Required
          * src:
            The sorce path where the file is kept.
          * dest:
            The destination path where the file will be copied.
      '''
      ret = {'name': name, 'changes': {}, 'result': True, 'comment': ''}
      ret['changes'] = __salt__['junos.file_copy'](name, dest, **kwargs)
      return ref file_copy(name, dest=None, **kwargs):
      '''
      Copies the file from the local device to the junos device.
  
      .. code-block:: yaml
  
              /home/m2/info.txt:
                junos:
                  - file_copy
                  - dest: info_copy.txt
  
      Parameters:
        Required
          * src:
            The sorce path where the file is kept.
          * dest:
            The destination path where the file will be copied.
      '''
      ret = {'name': name, 'changes': {}, 'result': True, 'comment': ''}
      ret['changes'] = __salt__['junos.file_copy'](name, dest, **kwargs)
      return ret
docs: Copies the file from the local device to the junos device.
  
      .. code-block:: yaml
  
              /home/m2/info.txt:
                junos:
                  - file_copy
                  - dest: info_copy.txt
  
      Parameters:
        Required
          * src:
            The sorce path where the file is kept.
          * dest:
            The destination path where the file will be copied.