Refer toSee this article on Fair Use article, which describes the ways copyrighted materials can be freely used without infringing.
The line between fair use and copyright infringement is a fuzzy one but, in general, if the amount of copied text is small, and you cite the original author, it shouldn't be a problem.