To create a list of enabled systemd services we can use
ENABLED_SERVICES=$(systemctl list-unit-files | grep enabled | cut -d\ -f1)
This would leave us with the variable ENABLED_SERVICES with a list of enabled services, one per line.
To enable all services in this list, we can use
echo "${ENABLED_SERVICES}" | xargs -I{} systemctl enable {}
You'll probably want to review the commands before they're actually executed. You can do this by running
echo "${ENABLED_SERVICES}" | xargs -I{} echo systemctl enable {}
(watch out for the additional echo statement).
The only thing that is left, is to get the variable ENABLED_SERVICES from system A to system B, so that they can be used to enable the services there. There are several options to do this. For example you can redirect the output of the first command to a file, transfer it to system B and assign the output of the cat command from this file to a variable with the name ENABLED_SERVICES.
However, it might be simpler to use a modified version of the first command
echo -n "ENABLED_SERVICES=\""; systemctl list-unit-files | grep enabled | cut -d\ -f1; echo -n "\"";
and copy the output and paste it into a terminal on system B. This command produces multiple lines of output, which is perfectly fine.