adding copyright header
Merge pull request #3875 from pdehaan/issue3874

adding copyright header

Tested, script still works. Thanks @pdehaan!