1. Sign in your iCloud account to both iBooks app for iOS and iBooks app for macOS.
2. Wait for the synchronization. Restart apps or re-sign in apps to try until all the books are synchronized in both apps.
3. After the synchronization is completed, you can find EPUB files via
~/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books