Add a function to copy properties from one node to another. Signed-off-by: Simon Glass <sjg@chromium.org>