modify net.cpp update CopyTrainedLayersFromPrefixMatch()