Shallow copying in programming, particularly in the context of object-oriented languages like Java, refers to creating a new object which contains the references to the original object's member variables.