Do you want replace only camera app from one Rom to other. If yes most of the times it will not work.
If you have to copy libs , apk and also need to modify boot.omg.
I have created one thread here check it out
Remember If I Have Helped You Hit The Button