core: Added copyright to z_stats