Does anyone know how to find and replace text inside a file with Phing?
The answer given by Acme, is the right one. If you try to copy a file to itself in order to modify it, yells telling that yo cannot self-copy.
This works well for me.