Reports from users revealed that Xiaomi phones have by default disabled system Documents app, and for this reason writing to external memory card doesn't work.
Open system settings and go to Apps. Find application named Documents. You may need to enable to show system apps from menu. You may also filter to show only disabled apps, then you may find it easy. Then enable the app, and retry task in X-plore. This is reported to fix the problem.