Copies a folder.
Object Oriented Interface
public function doCopyFolder($id, $destfolderid);
cloudmail_office365_do_copyfolder($res, $id, $destfolderid);
This method copies a folder to a new parent folder. Please note that two folders with the same name may not exist under the same parent folder. Since this method does not change the name of a folder, it is not possible to directly create a copy of a folder in the original folders location.