As mentioned by others, Wi-Fi connection files in system-connections directory have the interface MAC address included. This need to match your current setup hence the procedure is:
copy all files from old machine to new machine from/to directory:
/etc/NetworkManager/system-connectionschange MAC address entry in each file from old MAC to new MAC. As root:
cd /etc/NetworkManager/system-connections sed -i -e 's/<old mac>/<new mac>/' *Just in case, restart network manager:
systemctl restart NetworkManager
Old mac you may check from any of the files you copied, new mac if unsure you can check with ip link (or from the file that likely got created when you installed your system for the connection you used to copy the files).
Note: above assumes you had a single Wi-Fi interface in both your old an new setup, but the same logic should work with multiple interfaces.