Using a part of MIT-licensed program

I would like to know if I have to reproduce the MIT license in my program, if I use a part of another program under MIT license.

For instance, I would like to copy a function from an open source program that someone else has written and released under MIT license. Am I required to reproduce the original author's license in this case, even though I am not using the entire program?