на вопрос то ответа так и нет
If you cannot use the rename(2) syscall (e.g. because source and target are on different filesystem), you have to query the size, permission and other metadata of the source file with stat(2); copy the data using read(2), write(2) (using a buffer of several kilobytes), open(2), close(2) and the metadata using chmod(2), chown(2), utime(2).
For Linux, sendfile provides a method for copy across filesystem boundaries that is more efficient than read, write.
файлы на одной ФС?
запусти strace mv a/a b/b и посмотри какие сисколлы отрабатывают, потом лезь в исходники библиотеки и узнавай как она триггеры в системе регистрирует