Add license and copyright for sample