Re-implement copybit for cpu hw rendering (2)

reverts commit 8e86a7aba5003a620bb130b8ab7b444dacf6da9f
Re-implement copybit for cpu hw rendering (3)

reverts commit bd2de0e42adc3fad30d86ed2c8d0488bc9501f36