Pennsylvania Gov. Josh Shapiro paid his respects and spoke at the funeral of Andrew Duarte, a West York Borough police officer killed in the line of duty last week.