Came across an use case where we need to copy an asset from one location to another which should also hold all the versioning information from the source. Please let me know if any OOTB Api will work here or any other related pointers.
Do you want to copy the asset within AEM? And is it really a copy or rather a move? Because creating a copy of an asset within the same AEM intance is something you normally wouldn't do, because there is not benefit from it.
(And yes: creating a deep copy will preserve the links to the version history, so it shouldn't be a problem.)
The use case is to copy few of the assets to a new location which were to be reused for some other user groups who does not have access to the source folders. Also can you please let me know the API documentation link for deep copy which will preserve the version links.