Made moveLayerData move layer image data from one layer to another. It supports three levels of optimization, an O(1) block copy, an O(n) line-by-line copy, and an O(n²) pixel channel-by-channel copy. This last supports remapping channels.