[BUGFIX] Incorrect record manipulation on copy

This change rewrites the logic of record copying inside ContentService, bringing it to a properly commented and revised state.

Tested working after this change:

No misbehaviors detected in standard language after applying this patch.

References: #573
Merge pull request #637 from NamelessCoder/copying

[BUGFIX] Incorrect record manipulation on copy