How to project UVs from one object to another?
Here is more convenient way to do so:
You need UV mapped object as source and another object with the same texture but any mesh data with assigned UV map as target.
For target add DataTransfer modifier, select source object, enable Face Corner Data transfer as Nearest Face Interpolated and below click UVs as face corner data layers to transfer.



The result quality depends on target mesh density.