Add missing const to StringRef.copy()