add options to memcp, fix options in memcat