add function cavan-path-copy

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>