Fixed copyUpperCase-method