No, the won’t because they have different specific gravities.
There is some question about whether Archimedes could have measured the different volumes of water accurately enough to prove the royal crown maker was a crook.
He didn’t have to measure the volumes accurately.
All he had to do was put a bucket on each end of a balance, level the balance, and then put the overflow water from the crown in one bucket and the overflow from the reference mass in the other bucket, and see if they were the same weight.