second file match current volume level of first file

If you want the volume envelope of File-B to closely resemble File-A,
that can be done with an envelope-follower, e.g Steve’s Dynamic-Mirror plugin …