Ireland is a country of 5 million people. The UK is a country of 60 million people.
https://www.oecd.org/tax/revenue-statistics-united-kingdom.pdf
https://www.oecd.org/tax/revenue-statistics-ireland.pdf
Irish revenue from taxes on corporate profits : € 4,273m
UK revenue from taxes on corporate profits : £ 43,517m
It should be pretty clear to see how Ireland can drop corporation tax to a low rate, and make up the revenue from multinational companies.
But for the UK to do the same, they would have to attract at least 10 times as many multinational companies as Ireland did.
Not to mention that both Ireland and the UK's corporate tax revenues make up the same percentage of the total; 8%. But Ireland's tax revenue as a percentage of GDP is smaller. 33% compared to 29%
If the UK halved their corporate tax rate, and took every single Irish company, we'd still probably not break even.