fix length of appid for copy

Change-Id: I549e095609d4b28471f8349604dcddbd25c96fd3
Signed-off-by: Tsahi Asher <tasher@qce.qualcomm.com>