Any good teacher knows how to search the net for plaigerism in a few minutes if they suspect it. I'd suggest just writing it yourself... if you end up being really rushed and get a C or D or something, its still better than risking getting a 0 and serious disiplinary issues if you get busted for it.
Unless, of course, you live in korea, in which case they dont give a damn if you steal other peoples stuff and use it as your own or sell it for profit.