UefiDevicePathLibStrDuplicate
DeviceNodeStr = UefiDevicePathLibStrDuplicate (TextDeviceNode);
DeviceNodeStr = UefiDevicePathLibStrDuplicate (TextDeviceNode);
DevicePathStr = UefiDevicePathLibStrDuplicate (TextDevicePath);