Update BitmapData.js

refactor method copyChannel to improve the performance

Hi Peter,
 
Please review this change if you have time. I test this if FF and it should be big improvement in performance.

Thanks.