The induced voltage in the secondary coil of a transformer is given as $\frac { { N }_{ S } }{ { N }_{ P } } *{ V }_{ P }$ (where ${ N }_{ P}$ and ${ N }_{ S }$ are the number of turns in the primary and the secondary coil respectively, and ${ V }_{ P }$ is the voltage in the primary coil). I understand that to not violate the conservation of energy, the current in the secondary coil would need to be lessened by the same factor that the voltage is being increased with. Now, in a case where the secondary coil has twice the turns as in the primary coil, the voltage in the secondary coil would have to be twice as much of the voltage in the primary coil. Also, if both the coils were made of the same material with the same dimensions, the secondary coil would be at the very least be twice as long as the primary coil. Now, say the resistance of the primary coil was ${ R }_{ P }$, then the resistance in the secondary coil (${ R }_{ S }$) would be 2${ R }_{ P }$ (because ${ R }_{ S }=\frac { \rho (2L) }{ A } $). On applying the Ohm's law, the current in the secondary coil would come out to be the same as in the primary coil ($\frac { { V }_{ S } }{ { R }_{ S } } =\frac { 2{ V }_{ P } }{ { 2R }_{ P } } ={ I }$). The power in the primary coil was ${ V }_{ P }*I$ whereas the power in the secondary coil would be $2{ V }_{ P }*I$ which is twice the power as in the primary coil. This is clearly in disagreement with the fact that energy cannot be created. I know there's a mistake somewhere but I can't figure out where it is.
PS: For simplicity, the transformer which I considered was an ideal one.