Preservation is not a _public_ library's primary mission. However public libraries are a relatively new development. National libraries and many private libraries do exist to with the primary purpose of preserving information.
If you keep reading the article you linked, it continues to explain that the difference between libraries and archives is, to paraphrase, curation and selectivity.