The large-scale properties of simulated cosmological magnetic fields