copy of getpicture