public Entry copy ( String from , String to ) { OAuthRequest request = new OAuthRequest ( Verb . GET , FILE_OPS_COPY_URL ) ; request . addQuerystringParameter ( "root" , "dropbox" ) ; request . addQuerystringParameter ( "from_path" , encode ( from ) ) ; request . addQuerystringParameter ( "to_path" , encode ( to ) ) ; service . signRequest ( accessToken , request ) ; String content = checkCopy ( request . send ( ) ) . getBody ( ) ; return Json . parse ( content , Entry . class ) ; }
Copy file from specified source to specified target .