def transferCoincidences(network, fromElementName, toElementName):
coincidenceHandle = getLockedHandle(<EOL>runtimeElement=network.getElement(fromElementName),<EOL>expression="<STR_LIT>"<EOL>)<EOL>network.getElement(toElementName).setParameter("<STR_LIT>",<EOL>coincidenceHandle)<EOL>
Gets the coincidence matrix from one element and sets it on
another element
(using locked handles, a la nupic.bindings.research.lockHandle).

TODO: Generalize to more node types, parameter name pairs, etc.

Does not work across processes.