Use memcpy instead of per-pixel copy loop for rgb lcl format