Could you confirm the inner diameter please? What are the components, it looks like it may be a motorised valve (above) and a pump (below)?
Normally plumbing brass fittings in the UK are pretty standard sizes (8, 10, 15, 22, 28, etc... mm) and you may just be able to use a socket:
https://www.toolstation.com/brass-female-socket/p24305 (example of type, needs to be correct size)
or 2x couplers and a short run of copper pipe to join them:
Buy Brass Couplers Pipe Fittings at Screwfix.com. Thousands of products. Thousands of customer product reviews. Buy online & collect in hundreds of stores in as little as 1 minute! The UK’s leading retailer of trade tools and hardware.
www.screwfix.com
You'll need a bit of PTFE or jointing compound to make sure it's a good seal.