Script 4 copyright

added Copyright notice to java and scala files in examples and src directories and added bash script to update Copyright to current year and added all java and scala files with updated Copyright date in examples and src directories