sharepoint online – Copy documents from document library A to document library B

I have a requirement to develop a solution based on SPFx, namely, copy main versions of a documents from document library A to document library B. I have tested copyto (PnP.js) but it only copies the latest version. This is not possible with copyByPath (destinationUrl, true, true);

For example, if a document has 5 versions (1.0, 2.0, 3.0, 4.0, 5.0), is it possible to copy 5 times, once version 1.0, etc. and overwrite and in this way keep version history? How?

All tips are really appreciated.