Eclipse provides a good tool for applies copy right headers to source files, it can also replace one ones if the file already contain a copyright header.
The tool can be installed from the eclipse update site and is called:
- Eclipse Releng Tools
- a new Panel in the preferences (global or project based) with: Menu > Windows > Preferences > General > Copyright.
- a Menu Menu > Project > Apply Copyright…
- a realy nice Wizard with a lot of options and some default template for Open-Source licence (Apache, EPL, …)