If you are just wanting to use the same card/software in the pi, while it's in the 3 ssh to it and do:
sudo apt update && sudo apt full-upgrade -y && sudo rpi-update
The last step you will have to answer y to. It installs the latest kernel and modules for all versions of the pi.
Then do sudo shutdown -h now
Power it off and move the card to the pi4
You will have to get the IP address again, because the MAC address of the wifi or Ethernet, whichever you are using, will be different