Don't copy reference profile beforehand.

It's better to copy the reference profile during the merge. If the
reference profile is copied beforehand, it's hard to make the remaining
logic fluent.

Bug: 248318911
Test: atest ArtServiceTests
Ignore-AOSP-First: ART Services.
Change-Id: Ib961944286be946ae1cd9a503faf12d9e14afd14
6 files changed