Reimplement the function of blit.