Add onping example config file and add copy function test