The EU simply adds to an alphabet soup of organisations that work on security in Europe. The two which matter, NATO and EUROPOL, both have little to do with the EU and would work just as well with the UK out.