Final version

I used png function instead png.copy