As a developer, anytime I find code, I never - NEVER just copy and paste. I look it through for A) does it do what I want? and B) Do I understand everything it says/does? If not....back to research. I also always reference the original author and/or the site I get it from not only for my reference but for anybody else who happens to also come along behind me so that they can better understand what it is.
Great editorial btw, I see this everyday on the forums where I like to help others myself. So often these....developers/administrators/etc just want code to do what they want, not that they want to understand it, break it down and learn from it. I cannot tell you the headaches I have had to sort out because people just copy and paste with no apparent logic or reason. It is difficult enough to decipher one persons code let alone several in one shot!! :-P
Thanks and happy coding!!