Best Approach: to cleaning up duplicate functions across classes?

Hey guys, whats the best way to clean up duplicate functions that are in several classes. I have the same function in like 4 classes and i dont know if i want to just remove it and put it in an external file, and just do an include line in all my classes.

what would be considered the best approach?