http://en.wikipedia.org/wiki/History_of_copyright_law#Early_...
"The origin of copyright law in most European countries lies in efforts by the church and governments to regulate and control the output of printers.[6] Before the invention of the printing press, a writing, once created, could only be physically multiplied by the highly laborious and error-prone process of manual copying by scribes. An elaborate system of censorship and control over scribes existed.[7] Printing allowed for multiple exact copies of a work, leading to a more rapid and widespread circulation of ideas and information (see print culture).[6] Pope Alexander VI issued a bull in 1501 against the unlicensed printing of books and in 1559 the Index Expurgatorius, or List of Prohibited Books, was issued for the first time.[7]"
Later it was extended as a way for governments to grant money to special interests! Plus ça change, plus c'est la même chose.
Page 220, Imagine by Jonah Lehrer
Acknowledgement of authorship and perhaps some very limited temporal monopoly on commercial use only, perhaps 10 or 15 years since publication.
That's the difference between encouraging creativity and protecting parasitical monopolies like that of paywalls' owners.
Copyright purpose was not preventing people from getting your work for free, it was to prevent them to pay for your work to someone you did not authorized, like some crazy publishers of 16th century that would happily sell copies of books, even books not complete yet, without paying authors.