public FunctionDescription transferFunction(FunctionDescription fdesc, boolean transsig)
			throws LSHException {
		ExecutableRecord erec = transferExecutable(fdesc.getExecutableRecord());
		FunctionDescription res =
			newFunctionDescription(fdesc.getFunctionName(), fdesc.getAddress(), erec);
		res.setVectorId(fdesc.getVectorId());
		res.setFlags(fdesc.getFlags());
		SignatureRecord srec = fdesc.getSignatureRecord();
		if (transsig && (srec != null)) {
			SignatureRecord sigclone = newSignature(srec.getLSHVector(), srec.getCount());
			attachSignature(res, sigclone);
		}
		return res;
	}
Transfer a function from another container into this container
@param fdesc is the FunctionDescription to transfer
@param transsig is true if the SignatureRecord should be transferred as well
@return the new transferred FunctionDescription
@throws LSHException if the function already exists with different metadata
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/description/DescriptionManager.java