(I'm on support staff at Overleaf.)
It's not 100% clear from your question if you're asking about copying an entire project (often times Overleaf users colloquially refer to this as "copying the file" when in fact they are copying the entire project), or if you're copying only a single file within a project. Either way, yes, comments and tracked changes are not transferred when you copy a project or copy a single file within a project.
More broadly, when copying an entire project, the project's history, chat, track changes, and sharing settings are empty in the resulting new project. Effectively only the project's source files are copied into a new project, and the compiler engine and main file settings are transferred.
For more information, see Copying a Project: Copied Projects
As for comment and tracked change positions being lost when copying and pasting large chunks of text, or undoing/redoing changes that involve large chunks of text: this can happen in rare cases, unfortunately. Usually our system catches this and in most cases our support team can restore a previous snapshot of the comments and tracked changes.
If you'd like to see if this is possible, please write to us at [email protected] with the following information:
- the URL of the affected project;
- the name(s) of file(s) in the project where you require track changes restored;
- the date and time that the problem occurred; and
- the time zone you were in when the problem happened.
We will then check our systems to see if a previous snapshot can be restored.