Simplify use of OUString::copy

Change-Id: I2220ae614d8bc2f231947ec9336ef42e0e9398f1