def copy(self, fromp, to):
		''' Usage: copy/cp <from> <to> - \
copy a file / dir remotely at Baidu Yun
  from - source path (file / dir)
  to - destination path (file / dir)
		'''
		frompp = get_pcs_path(fromp)
		top = get_pcs_path(to)
		pars = {
			'method' : 'copy',
			'from' : frompp,
			'to' : top }

		self.pd("Remote copying '{}' =cc=> '{}'".format(frompp, top))
		return self.__post(pcsurl + 'file', pars, self.__copy_act)
def copy ( self , fromp , to ) : frompp = get_pcs_path ( fromp ) top = get_pcs_path ( to ) pars = { 'method' : 'copy' , 'from' : frompp , 'to' : top } self . pd ( "Remote copying '{}' =cc=> '{}'" . format ( frompp , top ) ) return self . __post ( pcsurl + 'file' , pars , self . __copy_act )
Usage: copy/cp <from> <to> - \
copy a file / dir remotely at Baidu Yun
  from - source path (file / dir)
  to - destination path (file / dir)