fix prepare script. lc-create must be called before lc-resume-cache
remove unnecessary memcpy from prepare_meta_writebuffer
Merge branch 'feature/remove-unnecessary-memcpy' into develop