They're not always quite the same, often arxiv have doesn't updates reflecting changes during the publication process (not including formatting). Can be annoying, the can be subtle differences and people aren't really careful about which versions they use or cite.