How big is input file ? Remember that every signal cause redrawing progress bar. Try this :
1. Create two signals. One for setting max value and one for stepping.
This first emit only one time.

2. Copy file with blocks not with single character.