As already indicated, my recommendation for you is to fully clarify your needs for the Copy/Edit/Save process before getting any further
From your comments, to avoid a huge number of problems ...
it seems to me you absolutely must create a Unique Identifier for each one of your Accounting Entries ...