add copyright to BytesUtils

- add copyright to BytesUtils
- renamed a function