public void replaceLabels(AddressSet originAddressSet, boolean replaceFunction,
			TaskMonitor monitor) throws CancelledException {
		mergeLabels(originAddressSet, ProgramMergeFilter.REPLACE, true, replaceFunction, monitor);
	}
<CODE>replaceLabels</CODE> replaces all symbols and aliases
in the specified address set from the second program.

@param originAddressSet the addresses to be replaced
The addresses in this address set should be derived from program1.
@param replaceFunction true indicates the function symbol should be replaced
@param monitor the task monitor for notifying the user of this merge's progress
@throws CancelledException if user cancels via the monitor.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramMerge.java