[TIMOB-17705] Removing unnecessary copy