copy to ram and initialze sprite from c