Add a new function to copy fields from items to replacements
The engine's copyentity
function inadvertently copies intrusive list data causing all sorts of issues, this change adds a QC function to copy item data to replacement items, avoiding the need to call the engine function and cleaning up various use cases of item replacing.
Closes #2792 (closed)