client-lib: Always update ulValueLen when copying data back.