The term you want to Google on is "fair use", and be prepared for a nightmare of complexity and fuzzy borders if you want to really learn about it.
"Non-commercial" use can relate to one particular aspect of fair use, but there definitely is no blanket "you can copy work for non-commercial use" proviso in copyright law.
You are mixing the concepts of fair use and non-commercial use.
Non-commercial use is not allowed in Brazil. But Brazil does have some fair use exceptions (like most countries that signed the international agreement on intellectual property).
In Brazil it's illegal for me to make copies of a book and distribute it for free on the streets, for example. It's 100% non-commercial, but still illegal.
"Non-commercial" use can relate to one particular aspect of fair use, but there definitely is no blanket "you can copy work for non-commercial use" proviso in copyright law.
It fell off the front page but here's a relevant story from today: https://news.ycombinator.com/item?id=49123300