Cooperation is a group of people working together, all doing essentially the same type of work, to accomplish a job. A group of four painters, each painting a different wall in the same room, are working cooperatively. A cooperative group can accomplish a given task faster than an individual working alone, but the cooperative result is usually not better in quality than the result of someone working alone.
Collaboration occurs when a group of people work together to achieve a common goal via a process of feedback and iteration. Using feedback and iteration, one person will produce something, say the draft of a document, and a second person will review that draft and provide critical feedback. Given the feedback, the original author or someone else will then revise the first draft to produce a second. The work proceeds in a series of stages, or iterations.