_client->use_msgraph_api()) { return $this->_client->apiGet('me/drive/items/'.$this->_id . '/content', $options, true); } return $this->_client->apiGet('drive/items/'.$this->_id . '/content', $options, true); } /** * Copies the OneDrive file referenced by this File instance into another * OneDrive folder. * * @param (null|string) The unique ID of the OneDrive folder into which to * copy the OneDrive file referenced by this File instance, or null to * copy it in the OneDrive root folder. Default: null. */ public function copy($destinationId = null) { $this->_client->copyFile($this->_id, $destinationId); } }